/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  com.alibaba.fastjson.JSON
 */
package com.gys.common.business;

import com.alibaba.fastjson.JSON;
import com.gys.common.data.HttpJson;
import com.gys.common.util.ConstUtil;
import com.gys.common.util.HttpClientUtil;
import com.gys.data.accept.AcceptInData;
import com.gys.data.accept.GetPoInData;

public class AcceptUtil {
    public static HttpJson selectList(AcceptInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/accept/list", JSON.toJSONString(param));
    }

    public static HttpJson diaoboList(AcceptInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/accept/diaoboList", JSON.toJSONString(param));
    }

    public static HttpJson poList(AcceptInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/accept/poList", JSON.toJSONString(param));
    }

    public static HttpJson poDetailList(AcceptInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/accept/poDetailList", JSON.toJSONString(param));
    }

    public static HttpJson queryDetail(AcceptInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/accept/detailList", JSON.toJSONString(param));
    }

    public static HttpJson save(AcceptInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/accept/save", JSON.toJSONString(param));
    }

    public static HttpJson savePo(AcceptInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/accept/savePo", JSON.toJSONString(param));
    }

    public static HttpJson approve(AcceptInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/accept/approve", JSON.toJSONString(param));
    }

    public static HttpJson insert(AcceptInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/accept/insert", JSON.toJSONString(param));
    }

    public static HttpJson insertPo(GetPoInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/accept/insertPo", JSON.toJSONString(param));
    }

    public static HttpJson productList(AcceptInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/productSortSetting/queryProVo", JSON.toJSONString(param));
    }

    public static HttpJson proInfo(AcceptInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/accept/proInfo", JSON.toJSONString(param));
    }

    public static HttpJson getTax(AcceptInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/accept/getTax", JSON.toJSONString(param));
    }

    public static HttpJson getSup(AcceptInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/accept/getSup", JSON.toJSONString(param));
    }
}

